filechooserdefault: Don't unref value twice
authorBenjamin Otte <otte@redhat.com>
Tue, 29 Nov 2011 19:39:21 +0000 (20:39 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 29 Nov 2011 19:44:57 +0000 (20:44 +0100)
Double unref was introduced in eb02dacb370e8b4e6ef62328d0c09673b1234b32

https://bugzilla.gnome.org/show_bug.cgi?id=646461
https://bugzilla.gnome.org/show_bug.cgi?id=664137

gtk/gtkfilechooserdefault.c

index f4b099f38ec1132615f8e977d3bc067cf7f06736..0f65fc93cf323ad45c3bd6ae466d82d79bb0102b 100644 (file)
@@ -10131,7 +10131,6 @@ list_row_activated (GtkTreeView           *tree_view,
   if (is_folder && file)
     {
       change_folder_and_display_error (impl, file, FALSE);
-      g_object_unref (file);
       goto out;
     }